<template>
  <div class="message_one">
    <dl class="nothing" v-if="newdata.fabu.length == 0">
      <dt><img src="@/assets/new_imgs/no_new.png" alt="" /></dt>
      <dd>这里空空的</dd>
    </dl>
    <div class="content" v-else>
      <h1>发布内容</h1>
      <h1>{{newdata.fabu}}</h1>
    </div>
  </div>
</template>

<script>
export default {
  data(){
    return{
      arr:[]
    }
  },
  created(){
    this.$store.dispatch('getinformation',{url:"/data/wode/information"})
  },
  computed:{
    newdata(){
      return this.$store.state.information.data;
    }
  },
}
</script>

<style scoped>
.message_one {
  min-height: 3rem;
  position: relative;
  padding: .15rem 0;
}
.message_one .nothing {
  width: 1.9rem;
  height: 1.63rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -0.95rem;
  margin-top: -0.8rem;
}
.message_one .nothing img {
  width: 100%;
}
.message_one .nothing dd{
  color: rgb(155,155,155);
}
</style>